package com.ostrich.cloud.ostrichUserService.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 骑手表
 * </p>
 *
 * @author Lucas
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rider")
@ApiModel(value="Rider对象", description="骑手表")
public class Rider implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "rider_id", type = IdType.AUTO)
    private Integer riderId;

    @ApiModelProperty(value = "用户总表的id")
    private Integer parentId;

    @ApiModelProperty(value = "USE 使用|LEAVE 离职|WORKING 配送|FREE 空闲")
    private String riderStatus;

    @ApiModelProperty(value = "累计金额")
    private BigDecimal riderMoney;

    @ApiModelProperty(value = "入职日期")
    private Date createTime;

    @ApiModelProperty(value = "身份证号")
    private String identityNumber;

    @ApiModelProperty(value = "手机号")
    private Long phoneNumber;

    private Integer businessmanId;

    @ApiModelProperty(value = "银行卡号")
    private String bankNumber;


}
